#include "song.h"

Song::Song()
{

}

void Song::setTitle(QString title)
{
	this->title = title;
}

void Song::setArtist(QString artist)
{
	this->artist = artist;
}

void Song::setAlbum(QString album)
{
	this->album = album;
}

void Song::setFilename(QString filename)
{
	this->filename = filename;
}

QString Song::getTitle()
{
	if(this->title.length() == 0)
		return "Unknow Title";
	else
		return this->title;
}

QString Song::getArtist()
{
	if(this->artist.length() == 0)
		return "Unknow Artist";
	else
		return this->artist;
}

QString Song::getAlbum()
{
	if(this->album.length() == 0)
		return "Unknow Album";
	else
		return this->album;
}

QString Song::getFilename()
{
	return this->filename;
}




